MASTER-K S Series Loader communication driver

 

MASTER-K S Series Loader communication driver is the driver to communicate with loader port(MASTER-K 80S, ¡¦, 200S, 300S, 1000S PLC) of LSIS Co., Ltd.  in Korea.

You can use RS-232C cable between MASTER-K S Series Loader port and computer.

 

1. Read Settings

 

<Figure 1> is read setting example of MASTER-K S Series Loader communication driver.

<Figure 1>  Read setting example of MASTER-K S Series Loader communication driver

Device part of  <Figure 1> input Com Port(COM1), Baud Rate(38400), Parity Bit(0), Data Bit(8), Stop Bit(1) respectively.

Baud rate, parity bit, data bit, stop bit of MASTER-K S Series Loader port are fixed to 38400, 0, 8, 1.

 

MASTER-K S Series Loader communication driver read schedule

Read schedule setting parameters are as follows:

1) Station – don't care. ( Fixed to 0 )

2) Read memory type – memory type of PLC. ( refer to <Table 1> )

PW, MW, LW, KW, FW, TW, CW, DW, SW : WORD unit reading,

PD, MD, LD, KD, FD, TD, CD, DD, SD : DWORD unit reading,

3) Read start address – reading start address(word or double word unit) in PLC memory.  ( WORD unit reading = word unit address, DWORD = double word unit address )

4) Save start address for Communication Server – Saving start address of Communication Server.

5) Read Size – word, double unit read size. ( WORD unit reading = word unit size, DWORD = double word unit size )

 

Read schedule example)

READ,     0,    IW,     0,    0,  16,

READ,     0,   MW,    0,   16,  16,

READ,     0,   DW,    0,   32,  16,

DWORD,  0,   DD,     0,  0,   16,

 

<Table 1> is memory type and contents of MASTER-K S Series Loader communication driver.

Memory type

Contents

PW, PD

 word, double word unit of P PLC memory

MW, MD

 word, double word unit of M PLC memory

LW, LD

 word, double word unit of L PLC memory

KW, KD

 word, double word unit of S PLC memory

FW, FD

 word, double word unit of F PLC memory

TW, TD

 word, double word unit of T PLC memory

CW, CD

 word, double word unit of C PLC memory

DW, DD

 word, double word unit of D PLC memory

SW, SD

 word, double word unit of S PLC memory

<Table 1> Memory type and contents of MASTER-K S Series Loader communication driver

If you click the icon  in protocol option part, you can see the dialogue box such as <Figure 2>. you can also set read schedule by using this part. 

<Figure 2> Example of Master-K S Series Loader communication driver¡¯s Option dialogue box

 You can set read schedule by using , , button and listbox of <Figure 2>.  

<Figure 3> Example of Master-K S Series Loader communication driver¡¯s read schedule Add/Edit dialogue box

When you click Add button or Edit button in dialogue box of <Figure 2>, dialogue box of <Figure 3> is shown.

 

2. Writing settings

You can set MASTER-K S Series PLC by using write settings.

 

Digital Write

Digital write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             don't care. ( Fixed to 0 )

3)  ADDRESS          write address in memory.

 upper 3 digit = decimal unit Word address,     lower 1 digit = 0 ~ F bit position.

4)  Extra1                   write memory type = P, M, L, K, F, T, C, D, S.

5)  Extra2                   don't care.

 

Write example 1) 

PORT : 0  Station : 0, ADDRESS : 0011, EXTRA1 : M,  EXTRA2 : 0

The setting parameter shown above is a control(On/Off) example for 1 word, 1(2nd) bit of M memory type.

 

Write example 2) 

PORT : 0  Station : 0, ADDRESS : 1232, EXTRA1 : D,  EXTRA2 : 0

The setting parameter shown above is a control(On/Off) example for 123 word, 2(3rd) bit of D memory type.

 

Analog Write

Analog write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             don't care. ( Fixed to 0 )

3)  ADDRESS          decimal unit write address in memory.

PW, MW, LW, KW, FW, TW, CW, DW, SW : word unit address,

PD, MD, LD, KD, FD, TD, CD, DD, SD : double word unit address.

4)  Extra1                   write memory type.

PW, MW, LW, KW, FW, TW, CW, DW, SW : word unit writing,

PD, MD, LD, KD, FD, TD, CD, DD, SD : double word unit writing,

5)  Extra2                   don't care.

 

Write example 1) 

PORT : 0  Station : 0, ADDRESS : 0000, EXTRA1 : PW,  EXTRA2 : 0

The setting parameter shown above is word unit write setting example for 0(1st) word of P memory type.

 

Write example 2) 

PORT : 0  Station : 0, ADDRESS : 0025, EXTRA1 : MW,  EXTRA2 : 0

The setting parameter shown above is word unit write setting example for 25(26th) word of M memory type.

 

Write example 3) 

PORT : 0  Station : 0, ADDRESS : 0020, EXTRA1 : MD,  EXTRA2 : 0

The setting parameter shown above is double word unit write setting example for 20(21th) double word of M memory type.

 

Write example 4) 

PORT : 0  Station : 0, ADDRESS : 0132, EXTRA1 : DW,  EXTRA2 : 0

The setting parameter shown above is word unit write setting example for 132(133th) word of D memory type.

 

 

Write example 5)

PORT : 0  Station : 0, ADDRESS : 0085, EXTRA1 : DD,  EXTRA2 : 0

The setting parameter shown above is double word unit write setting example for 85(86th) double word of D memory type.